Bitmap for WPF
GetGdiCompatibleGlyphMetrics(Single,Single,Nullable<Matrix3x2>,Boolean,Int16[],Boolean) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > FontFace クラス > GetGdiCompatibleGlyphMetrics メソッド : GetGdiCompatibleGlyphMetrics(Single,Single,Nullable<Matrix3x2>,Boolean,Int16[],Boolean) メソッド
The ogical size of the font in DIP units.
The number of physical pixels per DIP.
An optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified by the font size and pixelsPerDip.
When set to FALSE, the metrics are the same as the metrics of GDI aliased text. When set to TRUE, the metrics are the same as the metrics of text measured by GDI using a font created with CLEARTYPE_NATURAL_QUALITY.
An array of glyph indices for which to compute the metrics.
A BOOL value that indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation.
Obtains glyph metrics in font design units with the return values compatible with what GDI would produce.
シンタックス
'宣言
 
Public Overloads Function GetGdiCompatibleGlyphMetrics( _
   ByVal fontSize As System.Single, _
   ByVal pixelsPerDip As System.Single, _
   ByVal transform As System.Nullable(Of Matrix3x2), _
   ByVal useGdiNatural As System.Boolean, _
   ByVal glyphIndices() As System.Short, _
   ByVal isSideways As System.Boolean _
) As GlyphMetrics()
public GlyphMetrics[] GetGdiCompatibleGlyphMetrics( 
   System.float fontSize,
   System.float pixelsPerDip,
   System.Nullable<Matrix3x2> transform,
   System.bool useGdiNatural,
   System.short[] glyphIndices,
   System.bool isSideways
)

パラメータ

fontSize
The ogical size of the font in DIP units.
pixelsPerDip
The number of physical pixels per DIP.
transform
An optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified by the font size and pixelsPerDip.
useGdiNatural
When set to FALSE, the metrics are the same as the metrics of GDI aliased text. When set to TRUE, the metrics are the same as the metrics of text measured by GDI using a font created with CLEARTYPE_NATURAL_QUALITY.
glyphIndices
An array of glyph indices for which to compute the metrics.
isSideways
A BOOL value that indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation.

戻り値の型

An array of C1.Win.DX.DirectWrite.GlyphMetricsstructures filled by this function. The metrics are in font design units.
参照

FontFace クラス
FontFace メンバ
オーバーロード一覧